package com.open.capacity.mapper;

import com.open.capacity.model.BusinessFinance;
import com.open.capacity.model.FinanceVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface BusinessFinanceMapper {
    void add(BusinessFinance businessFinance);
    void delete(Long finaid);
//    void update(BusinessFinance businessFinance);
    List<BusinessFinance> findById(Long finaid);
    List<BusinessFinance> findAll(BusinessFinance businessFinance);
    List<FinanceVO> daily(Long busiid);
    List<BusinessFinance> dailyList(BusinessFinance businessFinance);
    List<FinanceVO> monthly(Long busiid);
    List<BusinessFinance> monthlyList(BusinessFinance businessFinance);

}
